<template>
  <div>
    <div class="title">
      <i></i>
      <span>{{title}}</span>
      <p>{{content}}</p>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: '全部活动'
    },
    content: {
      type: String,
      default: '缤纷活动精彩呈现'
    }
  }
}
</script>
<style lang="scss" scoped>
.title {
  font-size: 0.2rem;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(0, 4, 0, 1);
  margin-bottom: 0.86rem;
  margin-top: 1.2rem;
  i {
    display: inline-block;
    width: 0.08rem;
    height: 0.04rem;
    background: rgba(0, 4, 0, 1);
    margin-right: 0.03rem;
  }
  p {
    font-size: 0.38rem;
    font-family: PingFang SC;
    font-weight: bold;
    color: rgba(0, 4, 0, 1);
    line-height: 0.3rem;
    margin-top: 0.16rem;
  }
}
</style>
